package com.xiangshizhineng.tianzhangzhi.app.model.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.xiangshizhineng.tianzhangzhi.app.common.base.BaseDTO;
import com.xiangshizhineng.tianzhangzhi.app.utils.LongJsonSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;


@ApiModel("田长考勤信息字段说明")
@Data
@EqualsAndHashCode(callSuper = true)
public class AttendanceDTO extends BaseDTO implements Serializable {

    /**
     * 在岗时间
     */
    @ApiModelProperty(value = "在岗时间")
    private String zgsj;
    /**
     * 离岗时间
     */
    @ApiModelProperty(value = "离岗时间")
    private String lgsj;
    /**
     * 日期
     */
    @ApiModelProperty(value = "日期")
    private String kqrq;
    /**
     * 在岗状态(1:在岗;2:离岗)
     */
    @ApiModelProperty(value = "在岗状态(1:在岗;2:离岗)")
    private String zgzt;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long userId;
    /**
     * 
     */
    @ApiModelProperty(value = "")
    private Date createTime;
    /**
     * 
     */
    @ApiModelProperty(value = "")
    private Date updateTime;

}
